package com.woniu.humanresource.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;

/**
 * 
 * @TableName purchaselist
 */
@TableName(value ="purchaselist")
@Data
public class PurchaseList implements Serializable {
    //采购清单表ID
    @TableId(value = "purchaselist_id", type = IdType.AUTO)
    private Integer id;

    //资产类别ID
    @TableField(value = "purchaselist_assetcategoryid")
    private Integer assetcategoryid;

    //资产名称
    @TableField(value = "purchaselist_accetsname")
    private String accetsname;

    //采购单价（元）
    @TableField(value = "purchaselist_purchaseprice")
    private BigDecimal purchaseprice;

    //采购数量
    @TableField(value = "purchaselist_purchasenum")
    private Integer purchasenum;

    //采购金额（元）
    @TableField(value = "purchaselist_purchasetotalprice")
    private BigDecimal purchasetotalprice;

    //采购表ID
    @TableField(value = "purchaselist_pid")
    private Integer pid;

    //状态
    @TableField(value = "purchaselist_status")
    private Integer status;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}